<?php

	$xml = simplexml_load_file('test.xml');
	//print_r($xml);
	//echo $xml->getname().'<br />';
	$xml->addChild('alone','I like');
	foreach ($xml->children() as $var)
	{
		//echo $key.'=>'.$var.'<br />';
		echo $var->getName().'<br />';
	}
?>